package com.industrial.app.service;


import com.industrial.app.domain.BizIndustrialElectricityConsumption;
import com.industrial.common.core.web.domain.AjaxResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

/**
 * 工业用电量临时(新)Service接口
 *
 * @author SangGuangCan
 * @date 2024-01-22
 */
public interface IBizIndustrialElectricityConsumptionService
{
    /**
     * 查询工业用电量临时(新)
     *
     * @param baseId 工业用电量临时(新)主键
     * @return 工业用电量临时(新)
     */
    public BizIndustrialElectricityConsumption selectBizIndustrialElectricityConsumptionByBaseId(String baseId);

    /**
     * 查询工业用电量临时(新)列表
     *
     * @param bizIndustrialElectricityConsumption 工业用电量临时(新)
     * @return 工业用电量临时(新)集合
     */
    public List<BizIndustrialElectricityConsumption> selectBizIndustrialElectricityConsumptionList(BizIndustrialElectricityConsumption bizIndustrialElectricityConsumption);

    /**
     * 新增工业用电量临时(新)
     *
     * @param bizIndustrialElectricityConsumption 工业用电量临时(新)
     * @return 结果
     */
    public int insertBizIndustrialElectricityConsumption(BizIndustrialElectricityConsumption bizIndustrialElectricityConsumption);

    /**
     * 修改工业用电量临时(新)
     *
     * @param bizIndustrialElectricityConsumption 工业用电量临时(新)
     * @return 结果
     */
    public int updateBizIndustrialElectricityConsumption(BizIndustrialElectricityConsumption bizIndustrialElectricityConsumption);

    /**
     * 批量删除工业用电量临时(新)
     *
     * @param baseIds 需要删除的工业用电量临时(新)主键集合
     * @return 结果
     */
    public int deleteBizIndustrialElectricityConsumptionByBaseIds(String[] baseIds);

    /**
     * 删除工业用电量临时(新)信息
     *
     * @param baseId 工业用电量临时(新)主键
     * @return 结果
     */
    public int deleteBizIndustrialElectricityConsumptionByBaseId(String baseId);

    AjaxResult importIndustrialElectricityConsumptionData(Map<String, String> params, MultipartFile multipartFile);

    /**
     * 清空所有的工业用电量数据数据
     */
    void clearAllTableData();

    /**
     * <p>
     *     将临时表中的数据迁移到正式表虽
     * </p>
     * @return
     */
    boolean transferDataInOneClick();

}

